home *** CD-ROM | disk | FTP | other *** search
/ PCMania 48 / PCMania CD48_1.iso / pcmania / vbasic48 / vbasic48.frm < prev    next >
Text File  |  1996-05-25  |  5KB  |  193 lines

  1. VERSION 4.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Ventana de Propiedades"
  4.    ClientHeight    =   4230
  5.    ClientLeft      =   1080
  6.    ClientTop       =   1500
  7.    ClientWidth     =   4965
  8.    Height          =   4635
  9.    Left            =   1020
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   4230
  12.    ScaleWidth      =   4965
  13.    Top             =   1155
  14.    Width           =   5085
  15.    Begin VB.CommandButton Command9 
  16.       Caption         =   "Cambiar Icono"
  17.       Height          =   1170
  18.       Left            =   3015
  19.       TabIndex        =   12
  20.       Top             =   2550
  21.       Width           =   1590
  22.    End
  23.    Begin VB.CommandButton Command8 
  24.       Caption         =   "Cambiar Tφtulo"
  25.       Height          =   690
  26.       Left            =   3075
  27.       TabIndex        =   11
  28.       Top             =   990
  29.       Width           =   1215
  30.    End
  31.    Begin VB.Frame Frame3 
  32.       Caption         =   "Tφtulo"
  33.       Height          =   1575
  34.       Left            =   2700
  35.       TabIndex        =   9
  36.       Top             =   255
  37.       Width           =   2055
  38.       Begin VB.TextBox Text1 
  39.          Height          =   285
  40.          Left            =   75
  41.          TabIndex        =   10
  42.          Top             =   330
  43.          Width           =   1935
  44.       End
  45.    End
  46.    Begin VB.CommandButton Command7 
  47.       Caption         =   "Abajo"
  48.       Height          =   345
  49.       Left            =   1170
  50.       TabIndex        =   8
  51.       Top             =   3315
  52.       Width           =   525
  53.    End
  54.    Begin VB.CommandButton Command6 
  55.       Caption         =   "Arriba"
  56.       Height          =   345
  57.       Left            =   1185
  58.       TabIndex        =   7
  59.       Top             =   2595
  60.       Width           =   525
  61.    End
  62.    Begin VB.CommandButton Command5 
  63.       Caption         =   "<"
  64.       Height          =   345
  65.       Left            =   780
  66.       TabIndex        =   6
  67.       Top             =   2940
  68.       Width           =   315
  69.    End
  70.    Begin VB.Frame Frame2 
  71.       Caption         =   "Posici≤n"
  72.       Height          =   1575
  73.       Left            =   360
  74.       TabIndex        =   4
  75.       Top             =   2265
  76.       Width           =   2055
  77.       Begin VB.CommandButton Command4 
  78.          Caption         =   ">"
  79.          Height          =   345
  80.          Left            =   1395
  81.          TabIndex        =   5
  82.          Top             =   675
  83.          Width           =   315
  84.       End
  85.    End
  86.    Begin VB.CommandButton Command3 
  87.       Caption         =   "Tama±o Inicial"
  88.       Height          =   375
  89.       Left            =   645
  90.       TabIndex        =   3
  91.       Top             =   915
  92.       Width           =   1215
  93.    End
  94.    Begin VB.CommandButton Command2 
  95.       Caption         =   "Hacerla Menor"
  96.       Height          =   375
  97.       Left            =   660
  98.       TabIndex        =   2
  99.       Top             =   1350
  100.       Width           =   1215
  101.    End
  102.    Begin VB.Frame Frame1 
  103.       Caption         =   "Tama±o"
  104.       Height          =   1575
  105.       Left            =   360
  106.       TabIndex        =   0
  107.       Top             =   240
  108.       Width           =   2055
  109.       Begin VB.CommandButton Command1 
  110.          Caption         =   "Hacerla Mayor"
  111.          Height          =   330
  112.          Left            =   300
  113.          TabIndex        =   1
  114.          Top             =   285
  115.          Width           =   1200
  116.       End
  117.    End
  118.    Begin VB.Label Label1 
  119.       BackColor       =   &H00FFFFFF&
  120.       Caption         =   "YA PUEDES MINIMIZAR"
  121.       ForeColor       =   &H000000FF&
  122.       Height          =   255
  123.       Left            =   2880
  124.       TabIndex        =   13
  125.       Top             =   3780
  126.       Visible         =   0   'False
  127.       Width           =   1860
  128.    End
  129. End
  130. Attribute VB_Name = "Form1"
  131. Attribute VB_Creatable = False
  132. Attribute VB_Exposed = False
  133. Private Sub Command1_Click()
  134. Form1.Width = Form1.Width + 50
  135. Form1.Height = Form1.Height + 50
  136. End Sub
  137.  
  138. Private Sub Command2_Click()
  139. Form1.Width = Form1.Width - 50
  140. Form1.Height = Form1.Height - 50
  141. End Sub
  142.  
  143.  
  144. Private Sub Command3_Click()
  145. Form1.Width = 5085
  146. Form1.Height = 4635
  147. End Sub
  148.  
  149.  
  150. Private Sub Command4_Click()
  151. Form1.Left = Form1.Left + 50
  152. End Sub
  153.  
  154. Private Sub Command5_Click()
  155. Form1.Left = Form1.Left - 50
  156. End Sub
  157.  
  158. Private Sub Command6_Click()
  159. Form1.Top = Form1.Top - 50
  160. End Sub
  161.  
  162. Private Sub Command7_Click()
  163. Form1.Top = Form1.Top + 50
  164. End Sub
  165.  
  166.  
  167. Private Sub HScroll1_Change()
  168. If (HScroll1.Value > Ant_Valor) Then
  169.     Form1.Left = Form1.Left - 10
  170. Else
  171.     Form1.Left = Form1.Left + 10
  172. End If
  173. Ant_Valor = HScroll1.Value
  174. End Sub
  175.  
  176.  
  177. Private Sub Command8_Click()
  178. Form1.Caption = Text1.Text
  179. End Sub
  180.  
  181.  
  182. Private Sub Command9_Click()
  183. If (Label1.Visible) Then
  184. Form1.Icon = LoadPicture()
  185. Label1.Visible = False
  186. Else
  187. Form1.Icon = LoadPicture("c:\vb\icons\computer\cdrom01.ico")
  188. Label1.Visible = True
  189. End If
  190. End Sub
  191.  
  192.  
  193.